Fixed documentation of gtk_cell_area_set_focus_cell().
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 7 Jan 2011 06:47:13 +0000 (15:47 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Fri, 7 Jan 2011 07:21:51 +0000 (16:21 +0900)
gtk/gtkcellarea.c

index 7c635f650a0a5c335b96468bc93a34bad70e54f7..e859c8d06ca9eb5c6ad7c307589035c4cb2b3cd2 100644 (file)
@@ -2945,11 +2945,12 @@ gtk_cell_area_activate (GtkCellArea         *area,
  * @area: a #GtkCellArea
  * @renderer: the #GtkCellRenderer to give focus to
  *
- * This is generally called from #GtkCellArea implementations
- * either gtk_cell_area_grab_focus() or gtk_cell_area_update_focus()
- * is called. It's also up to the #GtkCellArea implementation
- * to update the focused cell when receiving events from
- * gtk_cell_area_event() appropriately.
+ * Explicitly sets the currently focused cell to @renderer.
+ *
+ * This is generally called by implementations of
+ * #GtkCellAreaClass.focus() or #GtkCellAreaClass.event(),
+ * however it can also be used to implement functions such
+ * as gtk_tree_view_set_cursor_on_cell().
  *
  * Since: 3.0
  */